package be.kafana.foursquare.core;

import prop.PropertiesLoader;


public class FourSquareAuthData {

  private String clientId;
  private String clientSecret;
  private String redirectUri;

  public FourSquareAuthData(String clientId, String clientSecret, String redirectUri) {
    this.clientId = clientId;
    this.clientSecret = clientSecret;
    this.redirectUri = redirectUri;
  }

  public FourSquareAuthData() {
    clientId = PropertiesLoader.getStringValue("auth.clientId", "NO KEY");
    clientSecret = PropertiesLoader.getStringValue("auth.clientSecret", "NO KEY");
    redirectUri = PropertiesLoader.getStringValue("auth.redirect.url", "localhost");

  }


  public String getRedirectUri() {
    return redirectUri;
  }


  public void setRedirectUri(String redirectUri) {
    this.redirectUri = redirectUri;
  }


  public String getClientId() {
    return clientId;
  }


  public String getClientSecret() {
    return clientSecret;
  }


}
